home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000162_fdc@columbia.edu_Sun Jun 15 12:45:01 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  4KB  |  100 lines

  1. Article: 14391 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Backspace Insists on sending ^H
  6. Date: 15 Jun 2003 12:36:51 -0400
  7. Organization: Columbia University
  8. Lines: 83
  9. Message-ID: <bci7b3$plv$1@watsol.cc.columbia.edu>
  10. References: <779oev84tluh03lpoag0imeueh45algboj@4ax.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1055695012 15418 128.59.39.139 (15 Jun 2003 16:36:52 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 15 Jun 2003 16:36:52 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14391
  16.  
  17. In article <779oev84tluh03lpoag0imeueh45algboj@4ax.com>,
  18. Ron Heiby  <heiby_u@falkor.chi.il.us> wrote:
  19. : Based on the amount of documentation of Backspace / Delete / Keyboard
  20. : issues, I am sure that I am not the only one confused by this area of
  21. : endeavor. But, I have read an awful lot of documentation that sounds like
  22. : it should be helping me figure this out, but I'm still not successfully
  23. : sending the character I want to send.
  24. : I've constructed a dialer entry to connect me with a system in my lab. I
  25. : have told it to use vt320 emulation, and sure enough, my Linux session
  26. : thinks I'm on a vt320.
  27. :
  28. But this does not affect what the remote Unix system's erase character is.
  29.  
  30. : In the "Keyboard" setup area, I have told Kermit
  31. : that "Backspace key sends Delete (Rubout)".  In the script generated by
  32. : the dialer (below), I see a line that says, "set dialer backspace \127",
  33. : which looks like it probably is intended to cause Kermit to send a DEL
  34. : when I press my PC's [<- Backspace] key.
  35. :
  36. In K95, which (unlike C-Kermit) supports multiple terminal types with a
  37. separate keymap for each, this performs the equivalent of "set key \264 \127"
  38. for each terminal type, because this is a keyboard setting and not a
  39. terminal-specific setting, thus applies to the keyoard independently of
  40. the terminal type.  OK, so..
  41.  
  42. : However, the character that gets
  43. : sent is a BS (^H). If I enter the Kermit command "show key one" and press
  44. : that key, I am told, "Key code \264 Backspace (default) => Character:
  45. : \8". This sure looks like it wants to send a BS when I press that key,
  46. : despite the "set dialer backspace \127" command.
  47. Doesn't happen here.
  48.  
  49. : At this point, it looks like the dialer configuration for the backspace
  50. : key does nothing.
  51. :
  52. The default setting is \127.  A command must have been executed that changed
  53. it from this to \8.
  54.  
  55. : But, I find that hard to believe, as *someone* would
  56. : have noticed before now.  It does look like I am able to add an explicit
  57. : "set key" to get the backspace key to emit a DEL, which seems an OK
  58. : workaround.
  59. :
  60. Where do you add it?
  61.  
  62. Either:
  63.  
  64.  (a) You're doing something that overrides the Dialer's setting; or:
  65.  (b) There's something you didn't tell us; or:
  66.  (c) I'm missing something; or:
  67.  (d) There's a bug.
  68.  
  69. When Kermit 95 starts, commands are executed in the following order:
  70.  
  71.   certain "pre-scanned" command-line options
  72.   k95.ini
  73.   k95site.ini
  74.   k95custom.ini
  75.   Any command-line options that were not pre-scanned
  76.   Dialer script
  77.   Interactive commands or scripts explicitly invoked
  78.  
  79. The Dialer script itself can execute two other scripts if you tell it:
  80.  
  81.   The keyboard script (selected on the Keyboard Settings page)
  82.   The login script (selected from the Login page)
  83.  
  84. If you have specified either one of these scripts, and it contains a SET
  85. KEY command, this can override the Enter and Backspace key settings on
  86. the Keyboard Settings page.
  87.  
  88. However, the Dialer script you sent did not include any TAKE commands.
  89.  
  90. Therefore it's not obvious why this happens to you but not to me.  I think
  91. more evidence is needed.  Did you execute any other command files or macros
  92. after the connection was made that might have changed the key setting?
  93.  
  94. The way that you worked around this by adding "set key" to a file should
  95. provide a good clue.
  96.  
  97. - Frank
  98.